public class Product {
    private String title;
    private double weight;
    private String description;
    private double price;

    public Product(String title, double weight, String description, double price) {
        this.title = title;
        this.weight = weight;
        this.description = description;
        this.price = price;
    }

    public String getTitle() {
        return title;
    }

    public double getWeight() {
        return weight;
    }

    public String getDescription() {
        return description;
    }

    public double getPriceForQuantity(int quantity) {
        return price * quantity;
    }
}